Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting
Analyzing procedures and queries
Use the following resources and tools to analyze your procedures and queries:
COMPILE XREF option
The
XREFoption of theCOMPILEstatement provides a variety of static data about a 4GL procedure, including:Example 7–8 shows the
XREFoption output generated by executing execlog.p. (See Example 7–3 for sample code ofexeclog.p.)
For detailed information on the
XREFoption, see OpenEdge Development: Progress 4GL Reference .INDEX-INFORMATION attribute of the query object handle
The
INDEX-INFORMATIONattribute provides data on a dynamic query similar to whatXREFprovides on a static query. For example, given a dynamic queryq1, where theQUERY PREPAREstring is:
The query returns these attribute values:
For detailed information on the
INDEX-INFORMATIONattribute, see OpenEdge Development: Progress 4GL Reference .To obtain additional query information and statistics use the
QryInfolog entry type. For detailed information see the "Query Info logging" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |